package com.king.mvpdemo.main.contract;

import com.king.mvpdemo.base.BaseView;

import io.reactivex.Flowable;

/**
 * @Author King
 * @Date 2019/8/7 10:51
 */
public interface MainContract {
    interface Model {
        Flowable setContent();
    }

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void hideLoading();

        @Override
        void onError(Throwable throwable);

        void onSuccess();
    }

    interface Presenter {
        void setContent();
    }
}
